// ActionScript file

import flash.events.MouseEvent;

import mx.rpc.events.ResultEvent;


protected function button1ClickHandler(event:MouseEvent):void {
	remoteObj.testSmoke();
}

protected function button2ClickHandler(event:MouseEvent):void {
	remoteObj.sendMessage(messageInput.text);
}


protected function smokeCallback(event:ResultEvent):void {
	output.text = event.result as String;
}

protected function sendMessageCallback(event:ResultEvent):void {
	output.text += event.result as Boolean;
}

